<link href="__STATIC__/dialog/custom.css" rel="stylesheet" type="text/css">
<meta charset="utf-8" />
<style>
*{ margin:0; padding:0;}
ul{ list-style:none;}
body{ font-size:12px; color:#333;}
textarea{display: inline-block; margin-bottom: 0; vertical-align: middle; background-color: #FFF; border: 1px solid #CCC; color: #555; font-size: 14px; line-height: 20px; padding: 8px 6px; -moz-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset; border-radius: 3px; font-size: 12px;}
.clearFloat{ zoom:1;}
.clearFloat:after{ clear:both; display:block; content:""; visibility:hidden; height:0;}
.orange{ color:#ff7900;}
.blue{ color:#0b73bb;}
.grey{ color:#999;}
.arial{ font-family:Arial;}
.pop_nr{ width:520px; padding:0 10px 10px 10px; border:1px solid #ddd; border-radius:5px;}
.pop_nr h3{ font-size:12px; font-weight:bold; color:#333; height:30px; line-height:30px; border-bottom:1px dotted #ddd;}
.pop_list ,.top_radio ,.pop_file{ padding:10px 0;}
.pop_list li ,.pop_file li{ line-height:26px; padding:0 20px;}
.pop_list li{ width:200px; float:left;}
.pop_list_2 ,.top_radio ,.pop_file{ padding:10px 0;}
.pop_list_2 li ,.pop_file li{ line-height:26px; padding:0 20px;}
.pop_list_2 li{ width:410px; float:left;}
.top_radio li{ line-height:24px;}
.ts_area{ width:500px; height:30px;}
.confirm_btn{ text-align:center;}

.ts_topic li{ clear:both; padding-top:10px; font-size:14px;}
.ts_topic li span{ font-size:14px; width:70px; text-align:right; padding-right: 10px; float:left;}
.ts_topic li input{ border: 1px solid #ddd; padding:3px 8px;}
</style>

<div class="eject_con">
  <div id="warning"></div>
  <form id="order_from" name="order_from" method="post" action="{:U('')}">
        <div class="pop_nr">
            <div class="ts_topic">
                <ul>
                	<li><span>金币数：</span><input name="count" id="count"/></li>
                </ul>
            </div>            

        </div>
   
      <dl class="bottom">
      <dt>&nbsp;</dt>
      <dd>
      	<input type="hidden" name="id" value="{$id}">
        <input type="submit" class="submit" id="confirm_button" value="确认提交"/>
      </dd>
    </dl>

  </form>
</div>
<script language="javascript">
//注册表单验证
$(function(){
		jQuery.validator.addMethod("isMobile", function(value, element) {
		var length = value.length;
		var mobile = /^1[3|4|5|7|8][0-9]\d{4,8}$/;
		return this.optional(element) || (length == 11 && mobile.test(value));
		}, "Mobile phone format error");
      $("#order_from").validate({
        rules : {
        	id : {
        		required : true,
        	},
            count : {
                required : true,
            }
        },
        messages : {
        	count  : {
                required : '请输入打赏金币数，至少1个金币',
            }
        }
    });
});
</script>